import request from '@/utils/request'

// 查询DO监测仪管理列表
export function getmonitorDeviceList (query) {
  return request({
    url: '/business/monitor/device/list',
    method: 'get',
    params: query
  })
}
// 获取DO监测仪管理详细信息
export function getmonitorDeviceChildren (id) {
  return request({
    url: '/business/monitor/device/' + id,
    method: 'get'
  })
}
// 修改DO监测仪管理
export function UpdatemonitorDevice (data) {
  return request({
    url: '/business/monitor/device',
    method: 'put',
    data: data
  })
}
// 新增DO监测仪管理
export function CreatedmonitorDevice (data) {
  return request({
    url: '/business/monitor/device',
    method: 'post',
    data: data
  })
}
// 修改DO监测仪管理状态
export function UpdatemonitorDeviceStatus (data) {
  return request({
    url: '/business/monitor/device/status',
    method: 'put',
    data: data
  })
}